/**********************************************************************************************************************
 *
 * Project:    mGameEngine
 * File:       pngloader.h
 * Author:     karooolek
 * Created on: 2012-10-07
 *
 **********************************************************************************************************************/

#ifndef PNGLOADER_H_
#define PNGLOADER_H_

#include "imageloader.h"

namespace mGameEngine
{
namespace Graphics
{

/**
 * PNG image loader.
 */
class PNGLoader : public ImageLoader
{
public:
    /**
     * Create PNG image loader with no file name specified.
     */
    PNGLoader();

    /**
     * Create PNG image file loader with specified file name.
     * @param filename PNG image file name to load
     */
    PNGLoader(const String &filename);

    /**
     * Destroy PNG image file loader.
     */
    ~PNGLoader();

    /**
     * Load image from PNG file.
     */
    void load();
};

}
}

#endif // PNGLOADER_H_
